package com.en.sharing.composition;

import org.slf4j.Logger;

/**
 * 日志工厂
 *
 * @author 付晓飞
 * @date 2024/3/11 8:19 下午
 */
public class LoggerFactory {

    public static Logger getLogger(Class<?> clazz) {
        final Logger logger = org.slf4j.LoggerFactory.getLogger(clazz);
        return new TraceLogger(logger);
    }

}
